<h2>{$lang->_('Edit profiles')}</h2>
<div id="edit-profiles">
	<form action="{$action}" method="post" name="edit_profiles">
	    <p><span>{$lang->_('Username')} <strong>{$profiles->username}</strong></span></p>
	
	    <h3>{$lang->_('Basic infomation')}</h3>
	
	    <p>
	        <label class="label">{$lang->_('Last name')} <span class="required">*</span></label>
	        <input type="text" class="tb-small" name="last_name" value="{$profiles->last_name}" />
	    </p>
	
	    <p>
	        <label class="label">{$lang->_('First name')} <span class="required">*</span></label>
	        <input type="text" class="tb-small" name="first_name" value="{$profiles->first_name}" />
	    </p>
	    
	    <p>
	        <label class="label">{$lang->_('Gender')} <span class="required">*</span></label>
	        <input type="radio" id="male" name="gender" value="1" {if $profiles->gender == 1} checked="checked" {/if} />
	        <label for="male">{$lang->_('Male')}</label
	        ><input type="radio" id="female" name="gender" value="0" {if $profiles->gender == 0} checked="checked" {/if} />
	        <label for="female">{$lang->_('Female')}</label>
	    </p>
	
	    <p>
	        <label class="label">{$lang->_('Birthday')} <span class="required">*</span></label>               
	        {$birthday_select_tags}        
	    </p>
	
	    <h3>{$lang->_('Contact info')}</h3>
	
	    <p>
	        <label class="label">{$lang->_('email')}</label>
	        <input type="text" class="tb-small" name="email" value="{$profiles->email}" />
	    </p>
	    
	    <h3>{$lang->_('Change password')}</h3>
		<p>
			<label class="label">{$lang->_('Current password')} <span class="required">*</span></label>
			<input type="password" class="tb-small" name="current_password" value="{$profiles->last_name}" />
		</p>
		<p>
			<label class="label">{$lang->_('New password')} <span class="required">*</span></label>
			<input type="password" class="tb-small" name="new_password" value="{$profiles->last_name}" />
		</p>
		<p>
			<label class="label">{$lang->_('Retype passowrd')} <span class="required">*</span></label>
			<input type="password" class="tb-small" name="retype_password" value="{$profiles->last_name}" />
		</p>
	    
	
	    <p align="center">
	        <input type="submit" class="button" name="submit" value="{$lang->_('Update profile')}" />
	        <input type="reset" class="button" name="submit" value="{$lang->_('Reset')}" />
	    </p>
	</form>
</div>